package com.atguigu.gmall.activity.mapper;

import com.atguigu.gmall.model.activity.SeckillGoods;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author luYinLei
 * @version 1.0
 * @date 2021/7/15 9:55
 */
@Mapper
public interface SeckillGoodsMapper extends BaseMapper<SeckillGoods> {

    int updateSeckillGoodsStock(@Param("skuId") String skuId,
                                @Param("num")Integer num);
}
